package com.fenxiangtech.mall.model;

import java.math.BigDecimal;
import java.util.Date;

public class Category {

        //自增id
        private Long id;
        //分类名称
        private String name;
        //描述
        private String description;
        //上级id
        private Long parentId;
        //级别
        private Integer level;

        public Long getId() {
                return id;
        }

        public Category setId(Long id) {
                this.id = id;
                return this;
        }

        public String getName() {
                return name;
        }

        public Category setName(String name) {
                this.name = name;
                return this;
        }

        public String getDescription() {
                return description;
        }

        public Category setDescription(String description) {
                this.description = description;
                return this;
        }

        public Long getParentId() {
                return parentId;
        }

        public Category setParentId(Long parentId) {
                this.parentId = parentId;
                return this;
        }

        public Integer getLevel() {
                return level;
        }

        public Category setLevel(Integer level) {
                this.level = level;
                return this;
        }
}